package com.ctshk.rpc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * t_user_message
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_message")
@ApiModel(value="用户消息表")
public class UserMessage extends BaseEntity {

    private static final long serialVersionUID = 4949706066429469060L;
    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="类型")
    private Integer type;

    @ApiModelProperty(value="标题")
    private String title;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="是否已读,IsRead枚举类,1未读,2已读")
    private Integer isRead;

    @ApiModelProperty(value="创建人")
    private Long createId;

    @ApiModelProperty(value="修改人")
    private Long modifiedId;

    @ApiModelProperty(value="删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value="订单id")
    private Long orderId;

    @ApiModelProperty(value="业务类型")
    private Integer businessType;
}